﻿<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta name="generator" content="Aspose.Words for .NET 15.1.0.0" />
    <title>南京市商品房现售备案证</title>
    <style type="text/css">
        .button {
            background-color: #4CAF50;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            margin: 4px 2px;
            cursor: pointer;
        }
    </style>
    <script src="__PUBLIC__/others/jquery.min.js"></script>
    <script src="__PUBLIC__/layer/layer_zh-cn.js"></script>
</head>

<body>
    <div>
        <button class="button" id='save'>生成PDF</button>
    </div>
    <div>
        <p style="margin:0pt; orphans:0; text-align:center; widows:0"><span style="font-family:'Times New Roman'; font-size:5pt">&#xa0;</span></p>
        <p style="margin:0pt; orphans:0; text-align:center; widows:0"><span style="font-family:宋体; font-size:22pt; font-weight:bold">浦口区商品房现售备案证</span></p>
        <p style="margin:0pt; orphans:0; text-align:center; widows:0"><span style="font-family:'Times New Roman'; font-size:5pt">&#xa0;</span></p>
        <p style="margin:0pt; orphans:0; text-align:center; widows:0"><span style="font-family:宋体; font-size:16pt">备案证号：<input name='input[]' value='' type='text' /></p>
        {php}
            $proj_id = $input['proj_id'];
            $info = db('project')->alias('a')->join('organize b','b.id = a.org_id')->field('a.proj_address,a.proj_area,a.use_type,a.proj_name,a.proj_manager,a.manager_phone,b.name')->where('a.id',$proj_id)->find();
       {/php}
        <p
            style="line-height:40pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span style="font-family:'Times New Roman'; font-size:16pt">&#xa0;</span></p>
        <p style="line-height:40pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span style="font-family:'Times New Roman'; font-size:16pt; text-decoration:underline">{$info.name}</span><span
                style="font-family:宋体; font-size:16pt">：</span></p>
        <p style="line-height:40pt; margin:0pt; orphans:0; text-align:justify; text-indent:21pt; widows:0"><span style="font-family:宋体; font-size:16pt">根据《江苏省城市房地产交易管理条例》第十二条之规定，对于你单位开发建设的</span><span style="font-family:'Times New Roman'; font-size:16pt; text-decoration:underline">{$info.proj_name}</span><span
                style="font-family:宋体; font-size:16pt; text-decoration:underline">项目</span><span style="font-family:'Times New Roman'; font-size:16pt; text-decoration:underline"><input name='input[]' value='' type='text' /></span><span
                style="font-family:宋体; font-size:16pt; text-decoration:underline">幢（建筑面积共计</span><span style="font-family:'Times New Roman'; font-size:16pt; text-decoration:underline"><input name='input[]' value='' type='text'/></span><span
                style="font-family:宋体; font-size:16pt; text-decoration:underline">平方米）</span><span style="font-family:宋体; font-size:16pt">房屋，其现售报备资料齐全，符合法定形式，现依法予以备案。</span></p>
        <p
            style="line-height:40pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span style="font-family:'Times New Roman'; font-size:16pt">&#xa0;</span></p>
        <p style="line-height:40pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span style="font-family:'Times New Roman'; font-size:16pt">&#xa0;</span></p>
        <p style="line-height:40pt; margin:0pt; orphans:0; text-align:justify; widows:0"><span style="font-family:'Times New Roman'; font-size:16pt">&#xa0;</span></p>
        <p style="line-height:40pt; margin:0pt 16pt 0pt 0pt; orphans:0; text-align:right; widows:0"><span style="font-family:宋体; font-size:16pt">南京市浦口区住房保障和房产局</span></p>
        <p style="line-height:40pt; margin:0pt 32pt 0pt 0pt; orphans:0; text-align:right; widows:0">
            <span style="font-family:宋体; font-size:16pt"></span><span style="font-family:'Times New Roman'; font-size:16pt"><input name='input[]' value='' type='text' style="width:40px;"/></span><span
                style="font-family:宋体; font-size:16pt">年</span><span style="font-family:'Times New Roman'; font-size:16pt"><input name='input[]' value='' type='text' style="width:40px;"/></span><span
                style="font-family:宋体; font-size:16pt">月</span><span style="font-family:'Times New Roman'; font-size:16pt"><input name='input[]' value='' type='text' style="width:40px;"/></span><span
                style="font-family:宋体; font-size:16pt">日</span></p>
    </div>
    <script>
        $('#save').on('click',function(){
            var data = {:json_encode($input)};
            $(this).hide();
            var inputs = $("input");
            inputs.each(function(){
                var value = $(this).val();
                $(this).replaceWith('<span>'+value+'</span>');
            });
            var html = $("html").html();

            $.post('{:url("Upload/tempHandle")}',{data:data,html:html},function(res){
                layer.msg(res.msg);
                if (res.code == 1){
                    setTimeout(function(){
                        parent.location.reload();
                    },1500);
                } else {
                    $(this).show();
                }
            })
        });
    </script>
</body>
</html>